/*
 * cfactory.h
 *
 *  Created on: Feb 27, 2012
 *      Author: francesco
 */

#ifndef CFACTORY_H_
#define CFACTORY_H_

#include "facaderecv.h"
#include "cinvocator.h"

#include "cbase/ctesting.h"
#include "cbase/cutility.h"

/**
 * @brief Struttura che permette di definire in maniera più semplice un comando.
 */
typedef struct defcmd {
	char *namecmd;
	char *helpstr;
	void (*execfnc)(void);
} SimpleDescCommand;

void CFactory_SetConfigurationBase();

DescRequest* CFactory_GetFilteredReq(char * buf);

#endif /* CFACTORY_H_ */
